import request from '@/utils/request'
// 左侧列表数据
export function dataStatisticsList(query) {
    return request({
      url: '/system/dataStatistics/list',
      method: 'get',
      params: query
    })
  }
//   根据id获取详情
export function getdataStatisticsDetail(query) {
    return request({
      url: '/system/dataStatistics/pipe/'+query,
      method: 'get',
    })
  }
//   根据详情id查询子列表
export function getYardCode(query) {
    return request({
      url: '/system/dataStatistics/getYardCode/'+query,
      method: 'get',
    })
  }
  // 下游用户输气统计-根据报警等级进行统计
  export function getLevelStatistics(query) {
    return request({
      url: 'system/dataStatistics/getLevelStatistics',
      method: 'get',
    })
  }
  